package com.java.domain;

import java.util.List;

/**
 * @author 周明
 * @create 2022-11-2022-11-1810:29
 */
public class PageBean<T> {
    private List<T> rows;//要显示的数据
    private int total;//一共多少条记录

    public PageBean() {
    }

    public PageBean(List<T> rows, int total) {
        this.rows = rows;
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
